package com.company;

import java.util.Scanner;

public class demo30 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入球的半径：");
        while(sc.hasNext()) {
            double r=sc.nextDouble();
            double pi=3.1415927;
            double s=4*r*r*r*pi/3;
            System.out.format("%.3f",s).println();
        }
    }
}

